﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CommiteeForm.aspx.cs" MasterPageFile="~/Site.Master"
    Inherits="Corsat.Web._2013.Reports.CommiteeForm" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        nav
        {
            margin-bottom: 80px;
            text-align: center;
        }
        nav ul ul
        {
            display: none;
        }
        nav ul li:hover > ul
        {
            display: block;
        }
        nav ul
        {
            background: #efefef;
            background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
            background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
            background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);
            box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
            padding: 0 20px;
            border-radius: 10px;
            list-style: none;
            position: relative;
            display: inline-table;
        }
        nav ul:after
        {
            content: "";
            clear: both;
            display: block;
        }
        nav ul li
        {
            float: left;
        }
        nav ul li:hover
        {
            background: #4b545f;
            background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
            background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
            background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);
        }
        nav ul li:hover a
        {
            color: #fff;
        }
        nav ul li a
        {
            display: block;
            padding: 20px 30px;
            color: #757575;
            text-decoration: none;
        }
        nav ul ul
        {
            background: #5f6975;
            border-radius: 0px;
            padding: 0;
            position: absolute;
            top: 100%;
        }
        nav ul ul li
        {
            float: none;
            border-top: 1px solid #6b727c;
            border-bottom: 1px solid #575f6a;
            position: relative;
        }
        nav ul ul li a
        {
            padding: 15px 40px;
            color: #fff;
        }
        nav ul ul li a:hover
        {
            background: #4b545f;
        }
        nav ul ul ul
        {
            position: absolute;
            left: 100%;
            top: 0;
        }
    </style>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <%--    <script src="../libs/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <link href="../libs/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <br />
    <center>
        <div runat="server" id="divCourses" dir="rtl" style="margin-bottom: 20px; text-align: right;
            margin-right: 20px" class="techPanel">
            <fieldset>
            <span>رقم الكورسات</span>
            <asp:TextBox ID="txtCorsatId" runat="server"></asp:TextBox>
            <asp:Button ID="btnSearch" runat="server" Text="بحث" OnClick="BtnSearch_Clicked" />
            <br />
            <br />
            <span>الأسم</span>
            <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            <asp:Button ID="btnBook" runat="server" Text="حجز" OnClick="btnBook_Click" />
            <asp:Button ID="btnCompeleteBooking" runat="server" Text="استكمال الحجز" OnClick="btnCompeleteBooking_Click" />
            <asp:Button ID="btnCancel" runat="server" Text="الغاء الحجز" OnClick="btnCancel_Click"
                ForeColor="Red" />
            <br />
            <br />
            <span>تاريخ الحجز</span>
            <asp:TextBox ID="txtBookingDate" runat="server"></asp:TextBox>
            <span>تاريخ الاستكمال</span>
            <asp:TextBox ID="txtCompeleteBookingDate" runat="server"></asp:TextBox>
            </fieldset>
        </div>
        <div style="background-color: white; width: 800px; text-align: center">
            <rsweb:ReportViewer ID="reportViewer" runat="server" Width="800px" Height="500px"
                Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" WaitMessageFont-Names="Verdana"
                WaitMessageFont-Size="14pt">
                <LocalReport ReportPath="Reports\CommitteeForm.rdlc">
                </LocalReport>
            </rsweb:ReportViewer>
        </div>
    </center>
</asp:Content>
